package com.bkgy.controller.acidplan.controller;

import com.bkgy.controller.acidplan.service.AcidPlanService;
import com.bkgy.controller.optimize.entity.AcidRollingProductRequest;
import com.bkgy.sys.common.entity.ResultData;
import io.swagger.v3.oas.annotations.Operation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * 酸扎计划仿真信息
 */
@RestController
@RequestMapping("/acid")
public class AcidPlanController {

    @Autowired
    private AcidPlanService acidPlanService;

    @Operation(summary = "酸扎计划仿真列表", description = "根据条件查询酸扎计划仿真数据")
    @PostMapping("/getAcidPlanData")
    public ResultData getAcidPlanData(@RequestBody AcidRollingProductRequest request) {
        return acidPlanService.getAcidPlanData(request);
    }

}
